package com.baijia.tianxiao.push.model;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;


/**
 * 
 * 
 * 
 **/
@SuppressWarnings("serial")
public class UserDeviceAttribute implements Serializable {

	/****/
	private Integer id;

	/**设备唯一id**/
	private String deviceId;

	/**用户id和对应的业务类型 ，这里拼装设备uid为 uid和bizType的组合以区分各个业务，格式 bizType|userId **/
	private String bizUserId;

	/**属性，json格式，每次修改需要获取字符串转成json对象，然后再修改属性，接着转回字符串，再更新数库**/
	private String attribute;

	/**设备状态，1是有效，0是无效**/
	private Integer status;
	
	
	private Map<String,String> attributeMap = new HashMap<String,String>();



	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setDeviceId(String deviceId){
		this.deviceId = deviceId;
	}

	public String getDeviceId(){
		return this.deviceId;
	}

	public void setBizUserId(String bizUserId){
		this.bizUserId = bizUserId;
	}

	public String getBizUserId(){
		return this.bizUserId;
	}

	public void setAttribute(String attribute){
		this.attribute = attribute;
	}

	public String getAttribute(){
		return this.attribute;
	}

	public void setStatus(Integer status){
		this.status = status;
	}

	public Integer getStatus(){
		return this.status;
	}

	public Map<String, String> getAttributeMap() {
		return attributeMap;
	}

	public void setAttributeMap(Map<String, String> attributeMap) {
		this.attributeMap = attributeMap;
	}

	
}
